<{extends file="$tpl_dir/tpl_base.htm"}>
<{block name="title"}>报名统计<{/block}>
<{block name="css" append}>
<link type="text/css" rel="stylesheet" href="<{$config.url_assets}>/css/count.css">
<{/block}>
<{block name="js" append}>
<script type="text/javascript">
var chartData = <{$chart_data|json_encode}>;
</script>
<{/block}>
<{block name="body"}>
<div class="top-banner"></div>
<div class="wrap-index">
    <div class="cf-title">近7天报名趋势</div>
	<div class="mod-box total-chart">
		<div class="legend clearfix">
			<{foreach $count_list as $row}>
			<span class="s<{$row@index}>"><{$row.school}></span>
			<{/foreach}>
		</div>
		<div class="main">
			<div id="total-chart_main"></div>
		</div>
	</div>
	<div class="cf-title">累计报名<font color="#999">(今日: <{$count_num.today}>，共计: <{$count_num.total}>)</font></div>
	<div class="mod-rows count-index_data">
		<div class="mod-row thead">
			<span class="bd">学校</span>
			<span class="c1">今日</span>
			<span class="c2">累计</span>
		</div>
		<{foreach $count_list as $row}>
		<a class="mod-row" href="<{$url.base}>/list?school_id=<{$row.school_id}>&token=<{$token}>">
			<span class="bd"><{$row.school}></span>
			<span class="c1"><{$row.today_num}></span>
			<span class="c2"><{$row.total}></span>
		</a>
		<{/foreach}>
	</div>
</div>
<{/block}>
<{block name="foot" append}>
<script type="text/javascript" src="<{$config.url_assets}>/js/count.js"></script>
<{/block}>